package com.scilvet.reportcomposer.report;

public class TitleLine extends Line {
	
	private String title;
	
	public TitleLine(Integer lineNumber, String title) {
		super(lineNumber);
		
		this.title = title;
	}

	@Override
	public String[] lineArray() {
		String[] outputArray = {lineNumber.toString(), title};
		return outputArray;
	}
	
	@Override
	public String toString() {
		return "\ntitle(" + lineNumber + ", " + title + ");";
	}

	@Override
	public String printValues() {
		return toString();
	}

}
